﻿using LimaLims.Core.Entity.Equipment;
using LimaLims.Core.Entity.TestCenter;
using LimaLims.Core.Enum;
using Microsoft.EntityFrameworkCore;

namespace LimaLims.Core.Entity.Experiment
{
    /// <summary>
    /// 变比试验
    /// </summary>
    [Comment("变比试验信息")]
    public class TransformationRatio : DEntityTenant
    {
        /// <summary>
        /// 出厂编号
        /// </summary>
        [Comment("出厂编号")]
        public string FactoryNumbe { get; set; }
        /// <summary>
        /// 试验任务ID
        /// </summary>
        [Comment("试验任务ID")]
        public long? ExperimentTaskId { get; set; }
        public ExperimentTask ExperimentTask { get; set; }

        /// <summary>
        /// 仪器设备Id
        /// </summary>
        [Comment("仪器设备Id")]
        public long EquipmentInfoId { get; set; }
        public EquipmentInfo EquipmentInfo { get; set; }
        /// <summary>
        /// 环境温度
        /// </summary>
        [Comment("环境温度")]
        public float? AmbientTemperature { get; set; }

        /// <summary>
        /// 环境湿度
        /// </summary>
        [Comment("环境湿度")]
        public float? AmbientHumidity { get; set; }

        /// <summary>
        /// 分接位置
        /// </summary>
        [Comment("分接位置")]
        public int TappingGear { get; set; }

        /// <summary>
        /// 联接组别号
        /// </summary>
        [Comment("联接组别号")]
        public string WiringMode { get; set; }

        /// <summary>
        /// 高压AB
        /// </summary>
        [Comment("高压AB")]
        public float? HighAB { get; set; }

        public float? HighBC { get; set; }

        public float? HighCA { get; set; }

        /// <summary>
        /// 低压ab
        /// </summary>
        [Comment("低压ab")]
        public float? Lowab { get; set; }

        public float? Lowbc { get; set; }

        public float? Lowca { get; set; }

        /// <summary>
        /// 变比A
        /// </summary>
        [Comment("变比A")]
        public float? TurnsRatioA { get; set; }

        public float? TurnsRatioB { get; set; }

        public float? TurnsRatioC { get; set; }

        /// <summary>
        /// 误差A
        /// </summary>
        [Comment("误差A")]
        public float? DeviationA { get; set; }

        public float? DeviationB { get; set; }

        public float? DeviationC { get; set; }

        /// <summary>
        /// 角度AB
        /// </summary>
        [Comment("角度AB")]
        public float? AngleAb { get; set; }

        public float? AngleBc { get; set; }

        public float? AngleCa { get; set; }

        /// <summary>
        /// 试验结果
        /// </summary>
        public ExperimentResult? Result { get; set; }

    }
}
